//
//  CarPayToolBar.h
//  Shengzhuli
//
//  Created by 卡忙科技 on 16/8/2.
//  Copyright © 2016年 kamangkeji. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum {
    ToolBarTypeSelectAll,
    ToolBarTypePay,
    ToolBarTypeDelete
}ToolBarType;

@protocol CarPayToolBarDelegate <NSObject>
@optional

- (void)carPayToolBarClick:(ToolBarType)type select:(BOOL)isSelect;

@end

@interface CarPayToolBar : UIView

@property (nonatomic,strong) NSArray *goods;
@property (nonatomic,assign) BOOL isEditing;
@property (nonatomic,assign) BOOL isSelected;
@property (nonatomic,assign) float realMoney;
@property (nonatomic,weak) id <CarPayToolBarDelegate> delegate;

@end
